package com.ukao.steward.bean;

import android.os.Parcel;
import android.os.Parcelable;

import com.ukao.steward.util.CheckUtils;

import java.util.List;

/**
 * Created by ukaodev on 2018/4/8.
 */

public class StorageListBean  extends  BaseBean<StorageListBean>{



        /**
         * proTotal : 4
         * isPaid : false
         * isEnableModifyPrice : true
         * isEnablePrint : true
         * orderInfo : {"mercId":1,"sendCarriage":500,"userInfo":{"mercId":1,"birthday":"1989-06-30","cardRelId":96,"cardName":"铂金会员卡","isBinding":0,"cardLevel":5,"origin":8,"discountDesc":null,"cardNo":"602617618","point":10,"balance":41000,"discountType":1,"id":25,"cardDiscount":80,"rfidId":null,"pointRatio":1,"subscribe":0,"sex":1,"wxNickname":null,"rfidNo":null,"cardRights":"0100","wxId":-1,"headimgPath":null,"verifyAndriod":0,"verifyPhone":0,"phone":"18573160234","cardId":18,"name":"duanfuw","verifyIos":0,"status":1},"hasBig":0,"sendDate":"2018-04-08","discountDesc":null,"discount":80,"cityId":1,"modifyPrice":4840,"mode":1,"pricingMode":1,"orderPrice":3840,"storeName":"友靠麓云店","id":1698,"orderNo":"18040874256617","createCnt":1,"factoryTransNo":null,"storeId":19,"priority":1,"transNo":null,"userId":25,"paymentPrice":4840,"isModifyPrice":0,"createTime":1523157480000,"statusText":"已入库","takeCarriage":500}
         * proList : [{"isCustomNum":0,"chgRemark":null,"no":3,"proServiceId":12,"orderId":1698,"saleType":2,"businessName":"洗家纺","businessId":3,"discount":80,"remark":null,"hasRefund":0,"addServiceDesc":null,"type":1,"productName":"床单","tranTypeText":"大件区","tranType":3,"saleAmt":1920,"saleTypeText":"自定义折扣","mercBusinessId":17,"chgSubtotal":null,"id":2105,"colorDesc":"[{\"id\": \"31\", \"name\": \"枣红色\"}]","flawDesc":"[{\"id\": \"16\", \"name\": \"装饰易掉\"}, {\"id\": \"15\", \"name\": \"领袖脏\"}]","serviceAmt":2400,"brandName":"拉夏贝尔","productId":459,"hasRefundText":null,"count":100,"picCnt":null,"serviceName":"清洗","userId":25,"scanCode":"1196062211697","productUnitText":"件","sortNo":3,"createBy":32,"annexDesc":"[{\"id\": \"26\", \"name\": \"55hh\"}]","createTime":1523157667000,"subtotal":1920,"brandId":8,"statusText":"已入库","proTypeId":46,"tranNum":128,"addsrvAmt":0,"effectDesc":"[{\"id\": \"7\", \"name\": \"洗后破口变大\"}, {\"id\": \"2\", \"name\": \"洗后会起泡\"}]"},{"isCustomNum":0,"chgRemark":null,"no":1,"proServiceId":12,"orderId":1698,"saleType":2,"businessName":"洗家纺","businessId":3,"discount":80,"remark":null,"hasRefund":0,"addServiceDesc":null,"type":1,"productName":"床单","tranTypeText":"大件区","tranType":3,"saleAmt":1920,"saleTypeText":"自定义折扣","mercBusinessId":17,"chgSubtotal":null,"id":2103,"colorDesc":"[{\"id\": \"31\", \"name\": \"枣红色\"}]","flawDesc":null,"serviceAmt":2400,"brandName":"","productId":459,"hasRefundText":null,"count":100,"picCnt":null,"serviceName":"清洗","userId":25,"scanCode":"1194737089675","productUnitText":"件","sortNo":2,"createBy":32,"annexDesc":"[{\"id\": \"26\", \"name\": \"55hh\"}]","createTime":1523157664000,"subtotal":1920,"brandId":null,"statusText":"已入库","proTypeId":46,"tranNum":127,"addsrvAmt":0,"effectDesc":null}]
         * annexTotal : 2
         * isEnableFinishStockIn : false
         * isEnableUpdateFactoryTransNo : true
         * isEnablePay : true
         */
        private  String  storeId;
        private  int   isStore;
        private int proTotal;
        private boolean isPaid;
        private  boolean    paymentCompleted;
        private boolean isEnableModifyPrice;
        private boolean isEnableBatchIn;
        private boolean isEnablePrint;
        private OrderInfoBean orderInfo;
        private int annexTotal;
        private boolean isEnableFinishStockIn;
        private boolean isEnableUpdateFactoryTransNo;
        private boolean isEnablePay;
        private List<ProListBean> proList;

    public boolean isPaymentCompleted() {
        return paymentCompleted;
    }

    /**
     * 反付款完成
     * @param paymentCompleted
     */
    public void setPaymentCompleted(boolean paymentCompleted) {
        this.paymentCompleted = paymentCompleted;
    }

    public String getStoreId() {
        return storeId;
    }

    public int getIsStore() {
        return isStore;
    }

    public int getProTotal() {
            return proTotal;
        }

        public void setProTotal(int proTotal) {
            this.proTotal = proTotal;
        }

        public boolean isIsPaid() {
            return isPaid;
        }

        public void setIsPaid(boolean isPaid) {
            this.isPaid = isPaid;
        }

        public boolean isIsEnableModifyPrice() {
            return isEnableModifyPrice;
        }


    public boolean isEnableBatchIn() {
        return isEnableBatchIn;
    }
        public void setIsEnableModifyPrice(boolean isEnableModifyPrice) {
            this.isEnableModifyPrice = isEnableModifyPrice;
        }

        public boolean isIsEnablePrint() {
            return isEnablePrint;
        }

        public void setIsEnablePrint(boolean isEnablePrint) {
            this.isEnablePrint = isEnablePrint;
        }

        public OrderInfoBean getOrderInfo() {
            return orderInfo;
        }

        public void setOrderInfo(OrderInfoBean orderInfo) {
            this.orderInfo = orderInfo;
        }

        public String getAnnexTotal() {
            return "附件"+annexTotal+"件";
        }

        public void setAnnexTotal(int annexTotal) {
            this.annexTotal = annexTotal;
        }

        public boolean isIsEnableFinishStockIn() {
            return isEnableFinishStockIn;
        }

        public void setIsEnableFinishStockIn(boolean isEnableFinishStockIn) {
            this.isEnableFinishStockIn = isEnableFinishStockIn;
        }

        public boolean isIsEnableUpdateFactoryTransNo() {
            return isEnableUpdateFactoryTransNo;
        }

        public void setIsEnableUpdateFactoryTransNo(boolean isEnableUpdateFactoryTransNo) {
            this.isEnableUpdateFactoryTransNo = isEnableUpdateFactoryTransNo;
        }

        public boolean isIsEnablePay() {
            return isEnablePay;
        }

        public void setIsEnablePay(boolean isEnablePay) {
            this.isEnablePay = isEnablePay;
        }

        public List<ProListBean> getProList() {
            return proList;
        }

        public void setProList(List<ProListBean> proList) {
            this.proList = proList;
        }

        public static class OrderInfoBean implements Parcelable {


            /**
             * mercId : 1
             * sendCarriage : 500
             * userInfo : {"mercId":1,"birthday":"1989-06-30","cardRelId":96,"cardName":"铂金会员卡","isBinding":0,"cardLevel":5,"origin":8,"discountDesc":null,"cardNo":"602617618","point":10,"balance":41000,"discountType":1,"id":25,"cardDiscount":80,"rfidId":null,"pointRatio":1,"subscribe":0,"sex":1,"wxNickname":null,"rfidNo":null,"cardRights":"0100","wxId":-1,"headimgPath":null,"verifyAndriod":0,"verifyPhone":0,"phone":"18573160234","cardId":18,"name":"duanfuw","verifyIos":0,"status":1}
             * hasBig : 0
             * sendDate : 2018-04-08
             * discountDesc : null
             * discount : 80
             * cityId : 1
             * modifyPrice : 4840
             * mode : 1
             * pricingMode : 1
             * orderPrice : 3840
             * storeName : 友靠麓云店
             * id : 1698
             * orderNo : 18040874256617
             * createCnt : 1
             * factoryTransNo : null
             * storeId : 19
             * priority : 1
             * transNo : null
             * userId : 25
             * paymentPrice : 4840
             * isModifyPrice : 0
             * createTime : 1523157480000
             * statusText : 已入库
             * takeCarriage : 500
             */

            private int mercId;
            private int sendCarriage;
            private UserInfoBean userInfo;
            private int hasBig;
            private String sendDate;
            private String discountDesc;
            private int discount;
            private int cityId;
            private int modifyPrice;
            private int mode;
            private String pricingMode;
            private int orderPrice;
            private String storeName;
            private String id;
            private String orderNo;
            private int createCnt;
            private String factoryTransNo;
            private int storeId;
            private int priority;
            private String transNo;
            private int userId;
            private int paymentPrice;
            private int isModifyPrice;
            private long createTime;
            private String statusText;
            private int takeCarriage;

            public int getMercId() {
                return mercId;
            }

            public void setMercId(int mercId) {
                this.mercId = mercId;
            }

            public int getSendCarriage() {
                return sendCarriage;
            }

            public void setSendCarriage(int sendCarriage) {
                this.sendCarriage = sendCarriage;
            }

            public UserInfoBean getUserInfo() {
                return userInfo;
            }

            public void setUserInfo(UserInfoBean userInfo) {
                this.userInfo = userInfo;
            }

            public int getHasBig() {
                return hasBig;
            }

            public void setHasBig(int hasBig) {
                this.hasBig = hasBig;
            }

            public String getSendDate() {
                return sendDate;
            }

            public void setSendDate(String sendDate) {
                this.sendDate = sendDate;
            }

            public Object getDiscountDesc() {
                return discountDesc;
            }

            public void setDiscountDesc(String discountDesc) {
                this.discountDesc = discountDesc;
            }

            public int getDiscount() {
                return discount;
            }

            public void setDiscount(int discount) {
                this.discount = discount;
            }

            public int getCityId() {
                return cityId;
            }

            public void setCityId(int cityId) {
                this.cityId = cityId;
            }

            public int getModifyPrice() {
                return modifyPrice;
            }

            public void setModifyPrice(int modifyPrice) {
                this.modifyPrice = modifyPrice;
            }

            public int getMode() {
                return mode;
            }

            public void setMode(int mode) {
                this.mode = mode;
            }

            public String getPricingMode() {
                return pricingMode;
            }

            public void setPricingMode(String pricingMode) {
                this.pricingMode = pricingMode;
            }

            public int getOrderPrice() {
                return orderPrice;
            }

            public void setOrderPrice(int orderPrice) {
                this.orderPrice = orderPrice;
            }

            public String getStoreName() {
                return CheckUtils.isEmptyString(storeName);
            }

            public void setStoreName(String storeName) {
                this.storeName = storeName;
            }

            public String getId() {
                return id;
            }

            public void setId(String id) {
                this.id = id;
            }

            public String getOrderNo() {
                return orderNo;
            }

            public void setOrderNo(String orderNo) {
                this.orderNo = orderNo;
            }

            public int getCreateCnt() {
                return createCnt;
            }

            public void setCreateCnt(int createCnt) {
                this.createCnt = createCnt;
            }

            public Object getFactoryTransNo() {
                return factoryTransNo;
            }

            public void setFactoryTransNo(String factoryTransNo) {
                this.factoryTransNo = factoryTransNo;
            }

            public int getStoreId() {
                return storeId;
            }

            public void setStoreId(int storeId) {
                this.storeId = storeId;
            }

            public int getPriority() {
                return priority;
            }

            public void setPriority(int priority) {
                this.priority = priority;
            }

            public Object getTransNo() {
                return transNo;
            }

            public void setTransNo(String transNo) {
                this.transNo = transNo;
            }

            public int getUserId() {
                return userId;
            }

            public void setUserId(int userId) {
                this.userId = userId;
            }

            public String getPaymentPrice() {
                return CheckUtils.isEmptyNumber(paymentPrice);
            }

            public void setPaymentPrice(int paymentPrice) {
                this.paymentPrice = paymentPrice;
            }

            public boolean getIsModifyPrice() {
                if (isModifyPrice==1){  /*修改了金额*/
                    return  true;
                }
                return false;
            }

            public void setIsModifyPrice(int isModifyPrice) {
                this.isModifyPrice = isModifyPrice;
            }

            public long getCreateTime() {
                return createTime;
            }

            public void setCreateTime(long createTime) {
                this.createTime = createTime;
            }

            public String getStatusText() {
                return CheckUtils.isEmptyString(statusText);
            }

            public void setStatusText(String statusText) {
                this.statusText = statusText;
            }

            public int getTakeCarriage() {
                return takeCarriage;
            }

            public void setTakeCarriage(int takeCarriage) {
                this.takeCarriage = takeCarriage;
            }

            public static class UserInfoBean implements Parcelable {

                /**
                 * mercId : 1
                 * birthday : 1989-06-30
                 * cardRelId : 96
                 * cardName : 铂金会员卡
                 * isBinding : 0
                 * cardLevel : 5
                 * origin : 8
                 * discountDesc : null
                 * cardNo : 602617618
                 * point : 10
                 * balance : 41000
                 * discountType : 1
                 * id : 25
                 * cardDiscount : 80
                 * rfidId : null
                 * pointRatio : 1
                 * subscribe : 0
                 * sex : 1
                 * wxNickname : null
                 * rfidNo : null
                 * cardRights : 0100
                 * wxId : -1
                 * headimgPath : null
                 * verifyAndriod : 0
                 * verifyPhone : 0
                 * phone : 18573160234
                 * cardId : 18
                 * name : duanfuw
                 * verifyIos : 0
                 * status : 1
                 */

                private int mercId;
                private String birthday;
                private int cardRelId;
                private String cardName;
                private int isBinding;
                private int cardLevel;
                private int origin;
                private String discountDesc;
                private String cardNo;
                private int point;
                private int balance;
                private int discountType;
                private int id;
                private int cardDiscount;
                private String rfidId;
                private int pointRatio;
                private int subscribe;
                private int sex;
                private String wxNickname;
                private String rfidNo;
                private String cardRights;
                private int wxId;
                private String headimgPath;
                private int verifyAndriod;
                private int verifyPhone;
                private String phone;
                private int cardId;
                private String name;
                private int verifyIos;
                private int status;

                public int getMercId() {
                    return mercId;
                }

                public void setMercId(int mercId) {
                    this.mercId = mercId;
                }

                public String getBirthday() {
                    return birthday;
                }

                public void setBirthday(String birthday) {
                    this.birthday = birthday;
                }

                public int getCardRelId() {
                    return cardRelId;
                }

                public void setCardRelId(int cardRelId) {
                    this.cardRelId = cardRelId;
                }

                public String getCardName() {
                    return cardName;
                }

                public void setCardName(String cardName) {
                    this.cardName = cardName;
                }

                public int getIsBinding() {
                    return isBinding;
                }

                public void setIsBinding(int isBinding) {
                    this.isBinding = isBinding;
                }

                public int getCardLevel() {
                    return cardLevel;
                }

                public void setCardLevel(int cardLevel) {
                    this.cardLevel = cardLevel;
                }

                public int getOrigin() {
                    return origin;
                }

                public void setOrigin(int origin) {
                    this.origin = origin;
                }

                public String getDiscountDesc() {
                    return discountDesc;
                }

                public void setDiscountDesc(String discountDesc) {
                    this.discountDesc = discountDesc;
                }

                public String getCardNo() {
                    return cardNo;
                }

                public void setCardNo(String cardNo) {
                    this.cardNo = cardNo;
                }

                public int getPoint() {
                    return point;
                }

                public void setPoint(int point) {
                    this.point = point;
                }

                public int getBalance() {
                    return balance;
                }

                public void setBalance(int balance) {
                    this.balance = balance;
                }

                public int getDiscountType() {
                    return discountType;
                }

                public void setDiscountType(int discountType) {
                    this.discountType = discountType;
                }

                public int getId() {
                    return id;
                }

                public void setId(int id) {
                    this.id = id;
                }

                public int getCardDiscount() {
                    return cardDiscount;
                }

                public void setCardDiscount(int cardDiscount) {
                    this.cardDiscount = cardDiscount;
                }

                public Object getRfidId() {
                    return rfidId;
                }

                public void setRfidId(String rfidId) {
                    this.rfidId = rfidId;
                }

                public int getPointRatio() {
                    return pointRatio;
                }

                public void setPointRatio(int pointRatio) {
                    this.pointRatio = pointRatio;
                }

                public int getSubscribe() {
                    return subscribe;
                }

                public void setSubscribe(int subscribe) {
                    this.subscribe = subscribe;
                }

                public int getSex() {
                    return sex;
                }

                public void setSex(int sex) {
                    this.sex = sex;
                }

                public Object getWxNickname() {
                    return wxNickname;
                }

                public void setWxNickname(String wxNickname) {
                    this.wxNickname = wxNickname;
                }

                public String getRfidNo() {
                    return rfidNo;
                }

                public void setRfidNo(String rfidNo) {
                    this.rfidNo = rfidNo;
                }

                public String getCardRights() {
                    return cardRights;
                }

                public void setCardRights(String cardRights) {
                    this.cardRights = cardRights;
                }

                public int getWxId() {
                    return wxId;
                }

                public void setWxId(int wxId) {
                    this.wxId = wxId;
                }

                public Object getHeadimgPath() {
                    return headimgPath;
                }

                public void setHeadimgPath(String headimgPath) {
                    this.headimgPath = headimgPath;
                }

                public int getVerifyAndriod() {
                    return verifyAndriod;
                }

                public void setVerifyAndriod(int verifyAndriod) {
                    this.verifyAndriod = verifyAndriod;
                }

                public int getVerifyPhone() {
                    return verifyPhone;
                }

                public void setVerifyPhone(int verifyPhone) {
                    this.verifyPhone = verifyPhone;
                }

                public String getPhone() {
                    return phone;
                }

                public void setPhone(String phone) {
                    this.phone = phone;
                }

                public int getCardId() {
                    return cardId;
                }

                public void setCardId(int cardId) {
                    this.cardId = cardId;
                }

                public String getName() {
                    return CheckUtils.isEmptyString(name);
                }

                public void setName(String name) {
                    this.name = name;
                }

                public int getVerifyIos() {
                    return verifyIos;
                }

                public void setVerifyIos(int verifyIos) {
                    this.verifyIos = verifyIos;
                }

                public int getStatus() {
                    return status;
                }

                public void setStatus(int status) {
                    this.status = status;
                }

                public UserInfoBean() {
                }

                @Override
                public int describeContents() {
                    return 0;
                }

                @Override
                public void writeToParcel(Parcel dest, int flags) {
                    dest.writeInt(this.mercId);
                    dest.writeString(this.birthday);
                    dest.writeInt(this.cardRelId);
                    dest.writeString(this.cardName);
                    dest.writeInt(this.isBinding);
                    dest.writeInt(this.cardLevel);
                    dest.writeInt(this.origin);
                    dest.writeString(this.discountDesc);
                    dest.writeString(this.cardNo);
                    dest.writeInt(this.point);
                    dest.writeInt(this.balance);
                    dest.writeInt(this.discountType);
                    dest.writeInt(this.id);
                    dest.writeInt(this.cardDiscount);
                    dest.writeString(this.rfidId);
                    dest.writeInt(this.pointRatio);
                    dest.writeInt(this.subscribe);
                    dest.writeInt(this.sex);
                    dest.writeString(this.wxNickname);
                    dest.writeString(this.rfidNo);
                    dest.writeString(this.cardRights);
                    dest.writeInt(this.wxId);
                    dest.writeString(this.headimgPath);
                    dest.writeInt(this.verifyAndriod);
                    dest.writeInt(this.verifyPhone);
                    dest.writeString(this.phone);
                    dest.writeInt(this.cardId);
                    dest.writeString(this.name);
                    dest.writeInt(this.verifyIos);
                    dest.writeInt(this.status);
                }

                protected UserInfoBean(Parcel in) {
                    this.mercId = in.readInt();
                    this.birthday = in.readString();
                    this.cardRelId = in.readInt();
                    this.cardName = in.readString();
                    this.isBinding = in.readInt();
                    this.cardLevel = in.readInt();
                    this.origin = in.readInt();
                    this.discountDesc = in.readString();
                    this.cardNo = in.readString();
                    this.point = in.readInt();
                    this.balance = in.readInt();
                    this.discountType = in.readInt();
                    this.id = in.readInt();
                    this.cardDiscount = in.readInt();
                    this.rfidId = in.readString();
                    this.pointRatio = in.readInt();
                    this.subscribe = in.readInt();
                    this.sex = in.readInt();
                    this.wxNickname = in.readString();
                    this.rfidNo = in.readString();
                    this.cardRights = in.readString();
                    this.wxId = in.readInt();
                    this.headimgPath = in.readString();
                    this.verifyAndriod = in.readInt();
                    this.verifyPhone = in.readInt();
                    this.phone = in.readString();
                    this.cardId = in.readInt();
                    this.name = in.readString();
                    this.verifyIos = in.readInt();
                    this.status = in.readInt();
                }

                public static final Creator<UserInfoBean> CREATOR = new Creator<UserInfoBean>() {
                    @Override
                    public UserInfoBean createFromParcel(Parcel source) {
                        return new UserInfoBean(source);
                    }

                    @Override
                    public UserInfoBean[] newArray(int size) {
                        return new UserInfoBean[size];
                    }
                };
            }

            public OrderInfoBean() {
            }

            @Override
            public int describeContents() {
                return 0;
            }

            @Override
            public void writeToParcel(Parcel dest, int flags) {
                dest.writeInt(this.mercId);
                dest.writeInt(this.sendCarriage);
                dest.writeParcelable(this.userInfo, flags);
                dest.writeInt(this.hasBig);
                dest.writeString(this.sendDate);
                dest.writeString(this.discountDesc);
                dest.writeInt(this.discount);
                dest.writeInt(this.cityId);
                dest.writeInt(this.modifyPrice);
                dest.writeInt(this.mode);
                dest.writeString(this.pricingMode);
                dest.writeInt(this.orderPrice);
                dest.writeString(this.storeName);
                dest.writeString(this.id);
                dest.writeString(this.orderNo);
                dest.writeInt(this.createCnt);
                dest.writeString(this.factoryTransNo);
                dest.writeInt(this.storeId);
                dest.writeInt(this.priority);
                dest.writeString(this.transNo);
                dest.writeInt(this.userId);
                dest.writeInt(this.paymentPrice);
                dest.writeInt(this.isModifyPrice);
                dest.writeLong(this.createTime);
                dest.writeString(this.statusText);
                dest.writeInt(this.takeCarriage);
            }

            protected OrderInfoBean(Parcel in) {
                this.mercId = in.readInt();
                this.sendCarriage = in.readInt();
                this.userInfo = in.readParcelable(UserInfoBean.class.getClassLoader());
                this.hasBig = in.readInt();
                this.sendDate = in.readString();
                this.discountDesc = in.readString();
                this.discount = in.readInt();
                this.cityId = in.readInt();
                this.modifyPrice = in.readInt();
                this.mode = in.readInt();
                this.pricingMode = in.readString();
                this.orderPrice = in.readInt();
                this.storeName = in.readString();
                this.id = in.readString();
                this.orderNo = in.readString();
                this.createCnt = in.readInt();
                this.factoryTransNo = in.readString();
                this.storeId = in.readInt();
                this.priority = in.readInt();
                this.transNo = in.readString();
                this.userId = in.readInt();
                this.paymentPrice = in.readInt();
                this.isModifyPrice = in.readInt();
                this.createTime = in.readLong();
                this.statusText = in.readString();
                this.takeCarriage = in.readInt();
            }

            public static final Creator<OrderInfoBean> CREATOR = new Creator<OrderInfoBean>() {
                @Override
                public OrderInfoBean createFromParcel(Parcel source) {
                    return new OrderInfoBean(source);
                }

                @Override
                public OrderInfoBean[] newArray(int size) {
                    return new OrderInfoBean[size];
                }
            };
        }

        public static class ProListBean implements Parcelable {


            /**
             * isCustomNum : 0
             * chgRemark : null
             * no : 3
             * proServiceId : 12
             * orderId : 1698
             * saleType : 2
             * businessName : 洗家纺
             * businessId : 3
             * discount : 80
             * remark : null
             * hasRefund : 0
             * addServiceDesc : null
             * type : 1
             * productName : 床单
             * tranTypeText : 大件区
             * tranType : 3
             * saleAmt : 1920
             * saleTypeText : 自定义折扣
             * mercBusinessId : 17
             * chgSubtotal : null
             * id : 2105
             * colorDesc : [{"id": "31", "name": "枣红色"}]
             * flawDesc : [{"id": "16", "name": "装饰易掉"}, {"id": "15", "name": "领袖脏"}]
             * serviceAmt : 2400
             * brandName : 拉夏贝尔
             * productId : 459
             * hasRefundText : null
             * count : 100
             * picCnt : null
             * serviceName : 清洗
             * userId : 25
             * scanCode : 1196062211697
             * productUnitText : 件
             * sortNo : 3.0
             * createBy : 32
             * annexDesc : [{"id": "26", "name": "55hh"}]
             * createTime : 1523157667000
             * subtotal : 1920
             * brandId : 8
             * statusText : 已入库
             * proTypeId : 46
             * tranNum : 128
             * addsrvAmt : 0
             * effectDesc : [{"id": "7", "name": "洗后破口变大"}, {"id": "2", "name": "洗后会起泡"}]
             */
            private  boolean  isUnfold=false;
            private int isCustomNum;
            private String chgRemark;
            private int no;
            private int proServiceId;
            private int orderId;
            private int saleType;
            private String businessName;
            private int businessId;
            private int discount;
            private String remark;
            private int hasRefund;
            private String addServiceDesc;
            private int type;
            private  boolean  isClothing;
            private String productName;
            private String tranTypeText;
            private int tranType;
            private int saleAmt;
            private String saleTypeText;
            private String mercBusinessId;
            private String  chgSubtotal;
            private String id;
            private String colorDesc;
            private String flawDesc;
            private int serviceAmt;
            private String brandName;
            private int productId;
            private String hasRefundText;
            private int count;
            private int  picCnt;
            private  String  bindCode;
            private String serviceName;
            private int userId;
            private String scanCode;
            private String productUnitText;
            private double sortNo;
            private int createBy;
            private String annexDesc;
            private long createTime;
            private int subtotal;
            private String brandId;
            private String statusText;
            private int proTypeId;
            private int tranNum;
            private int addsrvAmt;
            private String effectDesc;
            private  boolean isEnableBindCode;

            public boolean isClothing() {

                return getType()==1;
            }

            public boolean isUnfold() {
                return isUnfold;
            }

            public void setUnfold(boolean unfold) {
                isUnfold = unfold;
            }

            public boolean isEnableBindCode() {
                return isEnableBindCode;
            }

            public String getBindCode() {
                return CheckUtils.isEmptyString(bindCode);
            }

            public int getIsCustomNum() {
                return isCustomNum;
            }

            public void setIsCustomNum(int isCustomNum) {
                this.isCustomNum = isCustomNum;
            }

            public Object getChgRemark() {
                return chgRemark;
            }

            public void setChgRemark(String chgRemark) {
                this.chgRemark = chgRemark;
            }

            public int getNo() {
                return no;
            }

            public void setNo(int no) {
                this.no = no;
            }

            public int getProServiceId() {
                return proServiceId;
            }

            public void setProServiceId(int proServiceId) {
                this.proServiceId = proServiceId;
            }

            public int getOrderId() {
                return orderId;
            }

            public void setOrderId(int orderId) {
                this.orderId = orderId;
            }

            public int getSaleType() {
                return saleType;
            }

            public void setSaleType(int saleType) {
                this.saleType = saleType;
            }

            public String getBusinessName() {
                return CheckUtils.isEmptyString(businessName);
            }

            public void setBusinessName(String businessName) {
                this.businessName = businessName;
            }

            public int getBusinessId() {
                return businessId;
            }

            public void setBusinessId(int businessId) {
                this.businessId = businessId;
            }

            public int getDiscount() {
                return discount;
            }

            public void setDiscount(int discount) {
                this.discount = discount;
            }

            public Object getRemark() {
                return remark;
            }

            public void setRemark(String remark) {
                this.remark = remark;
            }

            public int getHasRefund() {
                return hasRefund;
            }

            public void setHasRefund(int hasRefund) {
                this.hasRefund = hasRefund;
            }

            public String getAddServiceDesc() {
                return addServiceDesc;
            }

            public void setAddServiceDesc(String addServiceDesc) {
                this.addServiceDesc = addServiceDesc;
            }

            public int getType() {

                return type;
            }

            public void setType(int type) {
                this.type = type;
            }

            public String getProductName() {
                return productName;
            }

            public void setProductName(String productName) {
                this.productName = productName;
            }

            public String getTranTypeText() {
                return tranTypeText;
            }

            public void setTranTypeText(String tranTypeText) {
                this.tranTypeText = tranTypeText;
            }

            public int getTranType() {
                return tranType;
            }

            public void setTranType(int tranType) {
                this.tranType = tranType;
            }

            public int getSaleAmt() {
                return saleAmt;
            }

            public void setSaleAmt(int saleAmt) {
                this.saleAmt = saleAmt;
            }

            public String getSaleTypeText() {
                return saleTypeText;
            }

            public void setSaleTypeText(String saleTypeText) {
                this.saleTypeText = saleTypeText;
            }

            public String getMercBusinessId() {
                return mercBusinessId;
            }

            public void setMercBusinessId(String mercBusinessId) {
                this.mercBusinessId = mercBusinessId;
            }

            public String  getChgSubtotal() {
                return CheckUtils.isEmptyString(chgSubtotal);
            }

            public void setChgSubtotal(String  chgSubtotal) {
                this.chgSubtotal = chgSubtotal;
            }

            public String getId() {
                return id;
            }

            public void setId(String id) {
                this.id = id;
            }

            public String getColorDesc() {
                return colorDesc;
            }

            public void setColorDesc(String colorDesc) {
                this.colorDesc = colorDesc;
            }

            public String getFlawDesc() {
                return flawDesc;
            }

            public void setFlawDesc(String flawDesc) {
                this.flawDesc = flawDesc;
            }

            public int getServiceAmt() {
                return serviceAmt;
            }

            public void setServiceAmt(int serviceAmt) {
                this.serviceAmt = serviceAmt;
            }

            public String getBrandName() {
                return CheckUtils.isEmptyString(brandName);
            }

            public void setBrandName(String brandName) {
                this.brandName = brandName;
            }

            public int getProductId() {
                return productId;
            }

            public void setProductId(int productId) {
                this.productId = productId;
            }

            public Object getHasRefundText() {
                return hasRefundText;
            }

            public void setHasRefundText(String hasRefundText) {
                this.hasRefundText = hasRefundText;
            }

            public int getCount() {
                return count;
            }

            public void setCount(int count) {
                this.count = count;
            }

            public int  getPicCnt() {
                return picCnt;
            }

            public void setPicCnt(int  picCnt) {
                this.picCnt = picCnt;
            }

            public String getServiceName() {
                return serviceName;
            }

            public void setServiceName(String serviceName) {
                this.serviceName = serviceName;
            }

            public int getUserId() {
                return userId;
            }

            public void setUserId(int userId) {
                this.userId = userId;
            }

            public String getScanCode() {
                return scanCode;
            }

            public void setScanCode(String scanCode) {
                this.scanCode = scanCode;
            }

            public String getProductUnitText() {
                return productUnitText;
            }

            public void setProductUnitText(String productUnitText) {
                this.productUnitText = productUnitText;
            }


            public void setBindCode(String bindCode) {
                this.bindCode = bindCode;
            }

            public double getSortNo() {
                return sortNo;
            }

            public void setSortNo(double sortNo) {
                this.sortNo = sortNo;
            }

            public int getCreateBy() {
                return createBy;
            }

            public void setCreateBy(int createBy) {
                this.createBy = createBy;
            }

            public String getAnnexDesc() {
                return annexDesc;
            }

            public void setAnnexDesc(String annexDesc) {
                this.annexDesc = annexDesc;
            }

            public long getCreateTime() {
                return createTime;
            }

            public void setCreateTime(long createTime) {
                this.createTime = createTime;
            }

            public String getSubtotal() {
                return CheckUtils.isEmptyNumber(subtotal);
            }

            public void setSubtotal(int subtotal) {
                this.subtotal = subtotal;
            }

            public String getBrandId() {
                return CheckUtils.isEmptyString(brandId);
            }

            public void setBrandId(String brandId) {
                this.brandId = brandId;
            }

            public String getStatusText() {
                return statusText;
            }

            public void setStatusText(String statusText) {
                this.statusText = statusText;
            }

            public int getProTypeId() {
                return proTypeId;
            }

            public void setProTypeId(int proTypeId) {
                this.proTypeId = proTypeId;
            }

            public int getTranNum() {
                return tranNum;
            }

            public void setTranNum(int tranNum) {
                this.tranNum = tranNum;
            }

            public int getAddsrvAmt() {
                return addsrvAmt;
            }

            public void setAddsrvAmt(int addsrvAmt) {
                this.addsrvAmt = addsrvAmt;
            }

            public String getEffectDesc() {
                return effectDesc;
            }

            public void setEffectDesc(String effectDesc) {
                this.effectDesc = effectDesc;
            }

            public ProListBean() {
            }

            @Override
            public int describeContents() {
                return 0;
            }

            @Override
            public void writeToParcel(Parcel dest, int flags) {
                dest.writeInt(this.isCustomNum);
                dest.writeString(this.chgRemark);
                dest.writeInt(this.no);
                dest.writeInt(this.proServiceId);
                dest.writeInt(this.orderId);
                dest.writeInt(this.saleType);
                dest.writeString(this.businessName);
                dest.writeInt(this.businessId);
                dest.writeInt(this.discount);
                dest.writeString(this.remark);
                dest.writeInt(this.hasRefund);
                dest.writeString(this.addServiceDesc);
                dest.writeInt(this.type);
                dest.writeString(this.productName);
                dest.writeString(this.tranTypeText);
                dest.writeInt(this.tranType);
                dest.writeInt(this.saleAmt);
                dest.writeString(this.saleTypeText);
                dest.writeString(this.mercBusinessId);
                dest.writeString(this.chgSubtotal);
                dest.writeString(this.id);
                dest.writeString(this.colorDesc);
                dest.writeString(this.flawDesc);
                dest.writeInt(this.serviceAmt);
                dest.writeString(this.brandName);
                dest.writeInt(this.productId);
                dest.writeString(this.hasRefundText);
                dest.writeInt(this.count);
                dest.writeInt(this.picCnt);
                dest.writeString(this.bindCode);
                dest.writeString(this.serviceName);
                dest.writeInt(this.userId);
                dest.writeString(this.scanCode);
                dest.writeString(this.productUnitText);
                dest.writeDouble(this.sortNo);
                dest.writeInt(this.createBy);
                dest.writeString(this.annexDesc);
                dest.writeLong(this.createTime);
                dest.writeInt(this.subtotal);
                dest.writeString(this.brandId);
                dest.writeString(this.statusText);
                dest.writeInt(this.proTypeId);
                dest.writeInt(this.tranNum);
                dest.writeInt(this.addsrvAmt);
                dest.writeString(this.effectDesc);
                dest.writeByte(this.isEnableBindCode ? (byte) 1 : (byte) 0);
            }

            protected ProListBean(Parcel in) {
                this.isCustomNum = in.readInt();
                this.chgRemark = in.readString();
                this.no = in.readInt();
                this.proServiceId = in.readInt();
                this.orderId = in.readInt();
                this.saleType = in.readInt();
                this.businessName = in.readString();
                this.businessId = in.readInt();
                this.discount = in.readInt();
                this.remark = in.readString();
                this.hasRefund = in.readInt();
                this.addServiceDesc = in.readString();
                this.type = in.readInt();
                this.productName = in.readString();
                this.tranTypeText = in.readString();
                this.tranType = in.readInt();
                this.saleAmt = in.readInt();
                this.saleTypeText = in.readString();
                this.mercBusinessId = in.readString();
                this.chgSubtotal = in.readString();
                this.id = in.readString();
                this.colorDesc = in.readString();
                this.flawDesc = in.readString();
                this.serviceAmt = in.readInt();
                this.brandName = in.readString();
                this.productId = in.readInt();
                this.hasRefundText = in.readString();
                this.count = in.readInt();
                this.picCnt = in.readInt();
                this.bindCode = in.readString();
                this.serviceName = in.readString();
                this.userId = in.readInt();
                this.scanCode = in.readString();
                this.productUnitText = in.readString();
                this.sortNo = in.readDouble();
                this.createBy = in.readInt();
                this.annexDesc = in.readString();
                this.createTime = in.readLong();
                this.subtotal = in.readInt();
                this.brandId = in.readString();
                this.statusText = in.readString();
                this.proTypeId = in.readInt();
                this.tranNum = in.readInt();
                this.addsrvAmt = in.readInt();
                this.effectDesc = in.readString();
                this.isEnableBindCode = in.readByte() != 0;
            }

            public static final Creator<ProListBean> CREATOR = new Creator<ProListBean>() {
                @Override
                public ProListBean createFromParcel(Parcel source) {
                    return new ProListBean(source);
                }

                @Override
                public ProListBean[] newArray(int size) {
                    return new ProListBean[size];
                }
            };
        }

}
